﻿#pragma once
#include "Mesh.h"
#include <string>

using std::string;
class FileMesh : public Mesh
{
public:
  FileMesh(const Configuration& cfg)
    : Mesh(cfg)
    , _node_file(Get<string>("node"))
    , _cell_file(Get<string>("cell"))
  {
  };
  virtual ~FileMesh(){};

  void Build() override;

  //void BuildBndList();

private:
  std::string _node_file, _cell_file;
};
